swift string time to epoch

114

let date = NSDate() // current date
let unixtime = date.timeIntervalSince1970

Comments

Submit
0 Comments